package com.zzl.finance.data.service;

import com.zzl.general.common.exception.SysException;
import com.zzl.general.common.utils.Result;

/**
 * @author gull
 */
public interface CodeService {
    /**
     * 获取登录验证码
     *
     * @param phone 电话号
     * @return result
     * @throws SysException
     */
    void getLoginCode(String phone, String type) throws SysException;

    Result verificationVoucherLoginCode(String code, String phone) throws SysException;

    Result getVoucherLoginCode(String phone);
}
